package com.ogawa.project6602.bean;

import static com.ogawa.project6602.activity.MusicSleepActivityKt.MUSIC_STATUS_EMPTY;

public class MusicResponse {
    /**
     * id : 2
     * name : 静之守候
     * categoryId : 1
     * categoryCode : brainWaveAudio
     * categoryName : 脑波音频
     * isEnabled : true
     * downUrl : https://familyiot.oss-cn-hangzhou.aliyuncs.com/test/music/%E8%84%91%E6%B3%A2%E5%8A%A9%E7%9C%A001-%E9%9D%99%E4%B9%8B%E5%AE%88%E5%80%99.mp3
     * notDownIcon : null
     * downIcon : null
     * createTime : 1612344650000
     * updateTime : 1612344852000
     */

    private int id;
    private String name;
    private int categoryId;
    private String categoryCode;
    private String categoryName;
    private boolean isEnabled;
    private String downUrl;
    private String notDownIcon;
    private String downIcon;
    private long createTime;
    private long updateTime;
    boolean isLast;

    private String path = "";
    int status = MUSIC_STATUS_EMPTY;//0 未下载    1  未播放    2 播放中


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public boolean isIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(boolean isEnabled) {
        this.isEnabled = isEnabled;
    }

    public String getDownUrl() {
        return downUrl;
    }

    public void setDownUrl(String downUrl) {
        this.downUrl = downUrl;
    }

    public String getNotDownIcon() {
        return notDownIcon;
    }

    public void setNotDownIcon(String notDownIcon) {
        this.notDownIcon = notDownIcon;
    }

    public String getDownIcon() {
        return downIcon;
    }

    public void setDownIcon(String downIcon) {
        this.downIcon = downIcon;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isEnabled() {
        return isEnabled;
    }

    public void setEnabled(boolean enabled) {
        isEnabled = enabled;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isLast() {
        return isLast;
    }

    public void setLast(boolean last) {
        isLast = last;
    }


}
